package com.neuedu.his.mapper;

import com.neuedu.his.entity.MedicalRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MedicalRecordMapper {
    public List<MedicalRecord> selectAll(MedicalRecord med);
    public MedicalRecord selectById(MedicalRecord med);
    public int update(MedicalRecord med);
    //按病历号查找
    public MedicalRecord selectByCaseNumber(MedicalRecord CaseNumber);
    //查找已确诊病例
    public List<MedicalRecord> selectDefinite(MedicalRecord med);
    //查找暂存未确诊病例
    public List<MedicalRecord> selectUndefiniteSto(MedicalRecord med);
    //查找提交未确诊状态病例
    public List<MedicalRecord> selectUndefiniteSub(MedicalRecord med);
}
